package com.example.threaddemo;

import lombok.extern.slf4j.Slf4j;

/**
 * @Description
 * @Date 2021/8/8
 * @Created by Jonathan
 */
@Slf4j
public class ThreadDemo01 implements Runnable {
    @Override
    public void run() {
        log.info("---");
    }

    public static void main(String[] args) {
        Thread thread = new Thread(new ThreadDemo01(), "111");
        thread.start();
        thread.start();
    }
}
